import instance from "@/axios";

export const getCategoryList = (data) => {
    return instance({
        url: '/category/list',
        method: 'POST',
        data
    })
}
export const getCategoryArticlePageList = (data) => {
    return instance({
        url: '/category/article/list',
        method: 'POST',
        data
    })
}